//
//  CAnimal.h
//  MacConsole
//
//  Created by MacVM on 2024/1/1.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CAnimal : NSObject
{
    NSString *firstName;
    NSString *lastName;
    int age;
}

//- (NSString*) ToString;
- (NSString*) getName;
- (NSString*) getFullName;
- (void)setName:(NSString *)name;
- (void)setFullName:(NSString *)firstName lastName:(NSString *)lastName;
- (void)setAge:(int)age;
- (void)setAll:(int)age firstName:(NSString*)firstName lastName:(NSString*)lastName;

@end

NS_ASSUME_NONNULL_END
